﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace demo
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnSplit_Click(object sender, EventArgs e)
        {
            //1. demo: string split
            string strTest = "abc,xyz,123,567";
            string[] strSplitted = strTest.Split(',');

            MessageBox.Show(strSplitted[0]);
            MessageBox.Show(strSplitted[1]);
            MessageBox.Show(strSplitted[2]);
        }   
        
        /// <summary>
        /// Demo translate 20110912
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnTranslate_Click(object sender, EventArgs e)
        {
            MessageBox.Show(Demo_Translate_20110912.Translate("this"));
        }



    }
}
